<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
  <title>EPICS exampleJava/helloRPCt</title>
  <link rel="stylesheet" type="text/css"
  href="http://epics-pvdata.sourceforge.net/base.css" />
  <link rel="stylesheet" type="text/css"
  href="http://epics-pvdata.sourceforge.net/epicsv4.css" />
  <style type="text/css">
/*<![CDATA[*/
     .about { margin-left: 3em; margin-right: 3em; font-size: .83em}
     table { margin-left: auto; margin-right: auto }
     .diagram { text-align: center; margin: 2.5em 0 }
     body { margin-right: 10% }
/*]]>*/</style>

 <!-- Script that generates the Table of Contents -->
  <script type="text/javascript" src="http://epics-pvdata.sourceforge.net/script/tocgen.js"></script>

</head>

<body>

<div class="head">
<h1>EPICS exampleJava/helloRPC</h1>
<h2 class="nocount">2016.08.26</h2>

<h2 class="nocount">Abstract</h2>
<p>
<b>helloRPC</b> implements a simple channelRPC service.
</p>
</div> <!-- head -->

<div id="toc">
  <h2 class="nocount">Table of Contents</h2>
</div>

<!-- Place what you would like in the Table of Contents, inside the contents div -->
<div id="contents" class="contents">	  
<hr />

<h2>Running</h2>
<h3>Server</h3>
<p>On linux in the helloRPC directory enter:</p>
<pre>
scripts/helloService
</pre>
<p>There is also a <b>scripts/helloService.bat</b> file for windows.
</p>
<h3>Client</h3>
<p>On linux in the helloRPC directory the following are examples of running the client</p>
<pre>
mrk> scripts/helloClient
Hello anonymous
mrk> scripts/helloClient Me
Hello Me
mrk> 
</pre>
<p>There is also a <b>scripts/helloClient.bat</b> file for windows.</p>
<h2>Some Details</h2>
<p>This is a starting point for writing an RPC service without using <strong>pvDatabaseJava</strong>.</p>
<p>But note that example <strong>database</strong> has a similar example implemented via <strong>pvDatabaseJava</strong>, which allows clients to monitor the result of each request.</p>

</div> <!-- class="contents" -->
</body>
</html>
